#pragma once
#include "Piece.h"
#include <vector>
/** \class Player
	\brief One Player on board
	Player for the game
*/
class Player
{
public:
	/**
	* Empty constructor
	*/
	Player();

	/**
	* Destructor
	*/
	~Player();

	/**
	* Returns current number of player
	*/
	int getNumber();

	/**
	* Sets the player number
	*/
	void setNumber(int n);

	/**
	*	Returns all Pieces for player
	*/
	std::vector<Piece*>& getPieces();

	/**
	* Set Pieces for player as nPieces
	*/
	void setPieces(std::vector<Piece*>& nPieces);

	/**
	* Get number of current pieces
	*/
	int getNumPieces();

	/**
	* Deletes Piece number num, from player
	*/
	void delPiece(int num);

	/**
	* Adds new Piece for player
	*/
	void addPiece(char symbol, int xPos, int yPos);
	
private:
	int m_playerNum; ///< Player number
	std::vector<Piece*> m_pieces; ///< All the Pieces for player
};

